package social_network.dao;

import social_network.entities.UserMark;
import social_network.exceptions.NotExistsParameterException;

import java.util.List;
/**
 * Created with IntelliJ IDEA.
 * User: Alex
 * Date: 14.07.13
 * Time: 11:51
 * To change this template use File | Settings | File Templates.
 */
public interface UserMarkDao {
    void addUserMarkAndDescription(UserMark userMark);
    List<UserMark> getDescriptionsByFilmId(int film_id);
    int getMarkByID(int user_id, int film_id) throws NotExistsParameterException;
    void deleteMarkByID(int id) throws NotExistsParameterException;
    void changeDescriptionByID(int user_id, int film_id) throws NotExistsParameterException;

}
